package pingji.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import pingji.controller.register.RegisterObject;
import pingji.pojo.User;

import java.util.List;

@Mapper
public interface UserMapper {
    User selectByName(String name);
    void addUser(@Param("o")RegisterObject o);

    User selectById(Integer id);

    List<User> selectAllPingjier();


}
